<?php

use Illuminate\Support\Facades\Route;

use App\Http\Controllers\Admin\AdminController;
use App\Http\Controllers\Admin\CustomerController;
use App\Http\Controllers\Admin\EnumController;
use App\Http\Controllers\Admin\EquipmentController;
use App\Http\Controllers\Admin\GameRoleController;
use App\Http\Controllers\Admin\GameSettingController;
use App\Http\Controllers\Admin\IndexController;
use App\Http\Controllers\Admin\MenuController;
use App\Http\Controllers\Admin\MoneyChangeController;
use App\Http\Controllers\Admin\NoticeController;
use App\Http\Controllers\Admin\PublicController;
use App\Http\Controllers\Admin\RoleController;
use App\Http\Controllers\Admin\RoleCreateController;
use App\Http\Controllers\Admin\RoleLoginController;
use App\Http\Controllers\Admin\UploadController;
use App\Http\Controllers\Admin\WebManageController;
use App\Http\Controllers\Admin\VersionEventController;
use \App\Http\Controllers\Admin\PackageController;
use \App\Http\Controllers\Admin\SaleController;
use \App\Http\Controllers\Admin\HotExclPushController;
use \App\Http\Controllers\Admin\PvpLogController;


$d = '[0-9]+';
Route::any('/test', function (){
    return 'test';
});
Route::group([ 'middleware'=>'adminLog','prefix'=>'admin','namespace'=>'Admin'],function() use ($d){

    Route::any('/public/userInfo', [PublicController::class,'userInfo']);
    Route::post('/public/logout', [PublicController::class,'logout']);
    Route::middleware('throttle:100,1')->group(function () {
        Route::get('/public/codeImage', [PublicController::class,'codeImage']);
        Route::post('/public/login', [PublicController::class,'login']);
    });

    Route::middleware('authAdmin')->group(function() use ($d) { //需要登录

        //基础权限
        Route::get('/index/init', [IndexController::class,'init'])->name("index:init");
        Route::get('/index/clearCache', [IndexController::class,'clearCache'])->name('clearCache');
        Route::post('/excel/import',[EnumController::class,'import'])->name('excel:import');
        Route::get('/enum/list',[EnumController::class,'list'])->name('enum:list');
        Route::post('/upload/upload', [UploadController::class,'upload'])->name("upload:upload");
        Route::post('/upload/wangEditor', [UploadController::class,'wangEditor'])->name("upload:wangEditor");
        Route::post('gamePackage:paginate
/upload/config', [UploadController::class,'config'])->name("upload:config");

        //热更文件配置上传
        Route::post('/excelPush/import',[HotExclPushController::class,'import'])->name('excelPush:import');
        Route::post('/excelPush/check',[HotExclPushController::class,'check'])->name('excelPush:check');
        Route::post('/excelPush/push',[HotExclPushController::class,'push'])->name('excelPush:push');
        //上传文件日志
        Route::get('/uploadrecord/list',[\App\Http\Controllers\Admin\UploadRecordController::class,'list']);

        //end

        Route::get('/menu/list', [MenuController::class,'list'])->name('menu:list');
        Route::post('/menu/add',[MenuController::class,'add'])->name("menu:add");
        Route::put('/menu/{id}',[MenuController::class,'edit'])->name("menu:edit");
        Route::get('/menu/{id}',[MenuController::class,'detail'])->name("menu:detail");
        Route::delete('/menu/{id}',[MenuController::class,'delete'])->where('id',$d)->name("menu:delete");

        Route::get('/webManage/settings', [WebManageController::class,'settings'])->name('webManage:settings');
        Route::put('/webManage/setting', [WebManageController::class,'setting'])->name("webManage:setting");
        //微变版
        Route::get('/webManage/settingsJs', [WebManageController::class,'settingsJs'])->name('webManage:settingsJs');
        Route::put('/webManage/settingJs', [WebManageController::class,'settingJs'])->name("webManage:settingJs");

        Route::get('/customerqy/paginate', [CustomerController::class,'paginate'])->name("customerqy:paginate");

        Route::get('/customer/paginate', [CustomerController::class,'paginate'])->name("customer:paginate");
        Route::get('/customer/export', [CustomerController::class,'export'])->name("customer:export");
        //Route::delete('/customer/delete', [CustomerController::class,'delete'])->name("customer:delete")->middleware('deleteLog');
        Route::put('/customer/{id}/resetPass', [CustomerController::class,'resetPass'])->where('id',$d)->name("customer:resetPass")->middleware('updateLog');
        Route::get('/customer/{id}/showPass', [CustomerController::class,'showPass'])->where('id',$d)->name("customer:showPass");
        Route::get('/customer/{id}', [CustomerController::class,'detail'])->where('id',$d)->name("customer:detail");
        Route::post('/customer/autoGen', [CustomerController::class,'autoGen'])->name("customer:autoGen")->middleware('insertLog'); //账号自动生成
        Route::put('/customer/{id}/edit', [CustomerController::class,'edit'])->name("customer:edit")->middleware('updateLog');
        Route::post('/customer/add', [CustomerController::class,'add'])->name("customer:add");

        //玩家分析-活跃分析
        Route::get('/customeractive/paginate', [CustomerController::class,'customeractive'])->name("customeractive:paginate");
        Route::get('/customer/activeUserStats', [CustomerController::class,'activeUserStats'])->name("customer:activeUserStats");
        Route::get('/customer/gameTimesStats', [CustomerController::class,'gameTimesStats'])->name("customer:gameTimesStats");
        Route::get('/customer/init', [CustomerController::class,'init'])->name("customer:init");
        //榜单类型查询
        Route::get('/customer/top', [CustomerController::class,'top'])->name("customer:top");;


        //榜单类型查询
        Route::get('/customer/gameTimes', [CustomerController::class,'gameTimes'])->name("customer:gameTimes");;
        //游戏进度分布
        Route::get('/customer/progress', [CustomerController::class,'progress'])->name("customer:progress");;
        //导出游戏进度数据
        Route::get('/customer/exportProgress', [CustomerController::class,'exportProgress'])->name("customer:exportProgress");;

        Route::get('/channelCustomer/paginate', [\App\Http\Controllers\Admin\ChannelCustomerController::class,'paginate'])->name("channelCustomer:paginate");
        Route::get('/channelCustomer/export', [\App\Http\Controllers\Admin\ChannelCustomerController::class,'export'])->name("channelCustomer:export");
        //Route::delete('/customer/delete', [CustomerController::class,'delete'])->name("customer:delete")->middleware('deleteLog');
        Route::put('/channelCustomer/{id}/resetPass', [\App\Http\Controllers\Admin\ChannelCustomerController::class,'resetPass'])->where('id',$d)->name("channelCustomer:resetPass")->middleware('updateLog');
        Route::get('/channelCustomer/{id}/showPass', [\App\Http\Controllers\Admin\ChannelCustomerController::class,'showPass'])->where('id',$d)->name("channelCustomer:showPass");
        Route::get('/channelCustomer/{id}', [\App\Http\Controllers\Admin\ChannelCustomerController::class,'detail'])->where('id',$d)->name("channelCustomer:detail");
        Route::post('/channelCustomer/autoGen', [\App\Http\Controllers\Admin\ChannelCustomerController::class,'autoGen'])->name("channelCustomer:autoGen")->middleware('insertLog'); //账号自动生成
        Route::put('/channelCustomer/{id}/edit', [\App\Http\Controllers\Admin\ChannelCustomerController::class,'edit'])->name("channelCustomer:edit")->middleware('updateLog');
        Route::post('/channelCustomer/add', [\App\Http\Controllers\Admin\ChannelCustomerController::class,'add'])->name("channelCustomer:add");


        //账号登录日志
        Route::get('/customerLogin/paginate', [\App\Http\Controllers\Admin\CustomerLoginController::class,'paginate'])->name("customerLogin:paginate");
        Route::get("/customerLogin/export",[\App\Http\Controllers\Admin\CustomerLoginController::class,'export'])->name('customerLogin:export');

        //隐私
        Route::get('/privacy/paginate',[\App\Http\Controllers\Admin\PrivacyController::class,'list'])->name("privacy:list");
        Route::post('/privacy/add',[\App\Http\Controllers\Admin\PrivacyController::class,'add'])->name("privacy:add");
        Route::put('/privacy/{id}',[\App\Http\Controllers\Admin\PrivacyController::class,'edit'])->where('id',$d)->name("privacy:edit");
        Route::delete('/privacy/delete',[\App\Http\Controllers\Admin\PrivacyController::class,'delete'])->name("privacy:delete");
        Route::get('/privacy/{id}',[\App\Http\Controllers\Admin\PrivacyController::class,'detail'])->name('privacy:detail')->where('id',$d);


        //账号绑定日志
        Route::get('/customerBind/paginate', [\App\Http\Controllers\Admin\CustomerLoginController::class,'bindPaginate'])->name("customerBind:paginate");
        Route::get("/customerBind/export",[\App\Http\Controllers\Admin\CustomerLoginController::class,'bindexport'])->name('customerBind:export');

        Route::get('/notice/list',[NoticeController::class,'list'])->name("notice:list");
        Route::get('/notice/export',[NoticeController::class,'export'])->name('notice:export');
        Route::get('/notice/{id}',[NoticeController::class,'detail'])->where('id',$d)->name("notice:detail");
        Route::post('/notice/add',[NoticeController::class,'add'])->name("notice:add");
        Route::put('/notice/{id}',[NoticeController::class,'edit'])->where('id',$d)->name("notice:edit");
        Route::delete('/notice/delete',[NoticeController::class,'delete'])->name("notice:delete");

        //微变版
        Route::get('/noticeJs/list',[NoticeController::class,'listJs'])->name("notice:listJs");
        Route::get('/noticeJs/export',[NoticeController::class,'exportJs'])->name('notice:exportJs');
        Route::get('/noticeJs/{id}',[NoticeController::class,'detailJs'])->where('id',$d)->name("notice:detailJs");
        Route::post('/noticeJs/add',[NoticeController::class,'addJs'])->name("notice:addJs");
        Route::put('/noticeJs/{id}',[NoticeController::class,'editJs'])->where('id',$d)->name("notice:editJs");
        Route::delete('/noticeJs/delete',[NoticeController::class,'deleteJs'])->name("notice:deleteJs");

        Route::get('/gameRole/paginate',[GameRoleController::class,'paginate'])->name("gameRole:paginate");
        Route::get('/gameRole/{id}',[GameRoleController::class,'detail'])->where('id',$d)->name("gameRole:detail");
        Route::get('/gameRole/export',[GameRoleController::class,'export'])->name("gameRole:export");
        Route::get('/gameRole/searchOne',[GameRoleController::class,'searchOne'])->name("gameRole:searchOne");
        Route::post('/gameRole/ti',[GameRoleController::class,'ti'])->name("gameRole:ti"); //踢下线
        Route::get('/gameRole/checkRoleEcustomerxists',[GameRoleController::class,'checkRoleExists'])->name("gameRole:checkRoleExists"); //监测角色ID是否存在
        Route::post('/gameRole/editCoordinates',[GameRoleController::class,'editCoordinates'])->name("gameRole:editCoordinates"); //修改用户坐标数据

        //玩家基础信息
        Route::get('/gameRoledetail/detail',[GameRoleController::class,'userdetail'])->name("gameRoledetail:paginate");
        //新增玩家数据
        Route::get('/gameRoleNewInfo/detail',[GameRoleController::class,'rolenewinfo'])->name("gameRoledetail:gameRoleNewInfo");;


        Route::get('/gameRole/equipSta',[GameRoleController::class,'equipSta'])->name("gameRole:equipSta");
        Route::get('/gameRole/equipStahb',[GameRoleController::class,'equipStahb'])->name("gameRole:equipStahb");
        Route::get('/gameRole/equipSta/export',[GameRoleController::class,'equipStaExport'])->name("equipSta:export");
        Route::get('/gameRole/exportRepeatedUuid',[GameRoleController::class,'exportRepeatedUuid'])->name("equipSta:exportRepeatedUuid");
        Route::get('/gameRole/repeatedUuidExists',[GameRoleController::class,'repeatedUuidExists'])->name("equipSta:repeatedUuidExists");

        //权限管理 begin
        //admin crud
        Route::post('/admin/add',[AdminController::class,'add'])->name('admin:add');
        Route::get('/admin/paginate',[AdminController::class,'paginate'])->name('admin:paginate');
        Route::put('/admin/{id}',[AdminController::class,'edit'])->name('admin:edit')->where('id',$d);
        Route::get('/admin/{id}',[AdminController::class,'detail'])->name('admin:detail')->where('id',$d);
        Route::delete('/admin/{id}',[AdminController::class,'delete'])->name('admin:delete')->where('id',$d);

        Route::put('/admin/{id}/auth',[AdminController::class,'auth'])->name('admin:auth')->where('id',$d);
        Route::put('/admin/{id}/resetPass',[AdminController::class,'resetPass'])->where('id',$d)->name('admin:resetPass');
        Route::put('/admin/resetSelfPass',[AdminController::class,'resetSelfPass'])->name('admin:resetSelfPass');


        Route::post('/role/add',[RoleController::class,'add'])->name('role:add');
        Route::put('/role/{id}',[RoleController::class,'edit'])->name('role:edit')->where('id',$d);
        Route::get('/role/{id}',[RoleController::class,'detail'])->name('role:detail')->where('id',$d);
        Route::get('/role/paginate',[RoleController::class,'paginate'])->name('role:paginate');
        Route::delete('/role/{id}',[RoleController::class,'delete'])->name('role:delete')->where('id',$d);
        Route::put('/role/{id}/givePermission',[RoleController::class,'givePermission'])->name('role:givePermission')->where('id',$d);

        //权限管理 end
        Route::get('/fileInfo/paginate',[\App\Http\Controllers\Admin\FileInfoController::class,'paginate'])->name("fileInfo:paginate");



        //在线人数统计查询
        Route::get("/online/paginate",[\App\Http\Controllers\Admin\OnLineController::class,'paginate'])->name('online:paginate');
        Route::get("/online/paginateOnlines",[\App\Http\Controllers\Admin\OnLineController::class,'paginateOnlines'])->name('online:paginateOnlines');
        //问题账号
        Route::get("/roleLogin/filter",[RoleLoginController::class,'filter'])->name('roleLogin:filter');
        Route::get("/roleLogin/filterExport",[RoleLoginController::class,'filterExport'])->name('filterExport:export');
        //玩家行为警告日志

        Route::get("/roleLogin/paginateAlarm",[RoleLoginController::class,'paginateAlarm'])->name('roleLogin:paginateAlarm');

        //日志相关
        Route::get("/roleCreate/paginate",[RoleCreateController::class,'paginate'])->name('roleCreate:paginate');
        Route::get("/roleCreate/export",[RoleCreateController::class,'export'])->name('roleCreate:export');
        Route::get("/roleLogin/paginate",[RoleLoginController::class,'paginate'])->name('roleLogin:paginate');
        Route::get("/roleLogin/export",[RoleLoginController::class,'export'])->name('roleLogin:export');
        Route::get("/moneyChange/paginate",[MoneyChangeController::class,'paginate'])->name('moneyChange:paginate');
        Route::get("/moneyChange/export",[MoneyChangeController::class,'export'])->name('moneyChange:export');
        Route::get("/moneyChange/exportAll",[MoneyChangeController::class,'exportAll'])->name('moneyChange:exportAll');

        Route::get("/roleMail/paginate",[\App\Http\Controllers\Admin\RoleMailController::class,'paginate'])->name('roleMail:paginate');


        Route::get("/equipment/paginate",[EquipmentController::class,'paginate'])->name('equipment:paginate');
        Route::get("/equipment/export",[EquipmentController::class,'export'])->name('equipment:export');

        //道具库存
        Route::get("/equipment/kcpaginate",[EquipmentController::class,'kcpaginate'])->name('equipment:kcpaginate');


        //pvp击杀
        Route::get("/pvplog/paginate",[PvpLogController::class,'paginate'])->name('pvplog:paginate');
        Route::get("/pvplog/export",[PvpLogController::class,'export'])->name('pvplog:export');
        //返利套现监控
        Route::get("/equipment/monitorpaginate",[EquipmentController::class,'monitorpaginate'])->name('equipment:monitorpaginate');

        Route::get("/equipment/monitorexport",[EquipmentController::class,'monitorexport'])->name('equipment:monitorexport');

        //游戏版本控制
        Route::post('/versionEvent/add',[VersionEventController::class,'add'])->name('versionEvent:add');
        Route::delete('/versionEvent/{id}',[VersionEventController::class,'delete'])->name('versionEvent:delete')->where('id',$d);
        Route::put('/versionEvent/{id}',[VersionEventController::class,'edit'])->name('versionEvent:edit')->where('id',$d);
        Route::get('/versionEvent/list',[VersionEventController::class,'list'])->name('versionEvent:list');
        Route::get('/versionEvent/{id}',[VersionEventController::class,'detail'])->name('versionEvent:detail')->where('id',$d);

        //邮件发送 begin
        //验证消息格式
        Route::get('/package/checkSendItemFormat',[PackageController::class,'checkSendItemFormat'])->name("package:verifyFormat");
        Route::post('/package/add',[PackageController::class,'add'])->name("package:add");
        Route::get('/package/paginate',[PackageController::class,'paginate'])->name("package:paginate");
        Route::put('/package/auth/{id}',[PackageController::class,'auth'])->name("package:auth")->where('id',$d);
        Route::put('/package/noauth/{id}',[PackageController::class,'noauth'])->name("package:noauth")->where('id',$d);
        //发送手动组装角色ID根据区域
        Route::post('/package/sendText',[PackageController::class,'sendText'])->name("package:sendText");
        //上传角色ID文本
        Route::post('/package/import',[PackageController::class,'import'])->name("package:import");

        //邮件发送 end

        //邀请码管理 begin
        Route::get("/sale/paginate",[SaleController::class,'paginate'])->name("sale:paginate");
        Route::post("/sale/gen",[SaleController::class,'gen'])->name("sale:gen");
        Route::get("/sale/export",[SaleController::class,'export'])->name("sale:export");
        Route::get("/sale/{id}",[SaleController::class,'detail'])->name("sale:detail")->where('id',$d);
        Route::put("/sale/{id}",[SaleController::class,'edit'])->name("sale:edit")->where('id',$d);
        Route::post("/sale/flushSaleAdmin",[SaleController::class,'flushSaleAdmin'])->name("sale:flushSaleAdmin");


        Route::get("/gameSign/paginate",[\App\Http\Controllers\Admin\GameSignController::class,'paginate'])->name('gameSign:paginate');
        Route::post("/gameSign/add",[\App\Http\Controllers\Admin\GameSignController::class,'add'])->name('gameSign:add');
        Route::get("/gameSign/{id}",[\App\Http\Controllers\Admin\GameSignController::class,'detail'])->name('gameSign:detail')->where('id',$d);
        Route::put("/gameSign/{id}",[\App\Http\Controllers\Admin\GameSignController::class,'edit'])->name('gameSign:edit')->where('id',$d);
        Route::delete("/gameSign/{id}",[\App\Http\Controllers\Admin\GameSignController::class,'delete'])->name('gameSign:delete')->where('id',$d);

        //邀请码管理 end

        //装备合成
        Route::get('/equipmentSynthesize/paginate',[\App\Http\Controllers\Admin\EquipmentSynthesizeController::class,'paginate'])->name("equipmentSynthesize:paginate");

        //魂魄合成
        Route::get('/soulSynthesize/paginate',[\App\Http\Controllers\Admin\SoulSynthesizeController::class,'paginate'])->name("soulSynthesize:paginate");
        Route::get('/soulSynthesize/export',[\App\Http\Controllers\Admin\SoulSynthesizeController::class,'export'])->name("soulSynthesize:export");
        Route::get('/changeScene/paginate',[\App\Http\Controllers\Admin\ChangeSceneController::class,'paginate'])->name("changeScene:paginate");
        Route::get('/changeScene/export',[\App\Http\Controllers\Admin\ChangeSceneController::class,'export'])->name("changeScene:export");

        Route::get('/equipIntensify/paginate',[\App\Http\Controllers\Admin\EquipIntensifyController::class,'paginate'])->name("equipIntensify:paginate");



        //角色升级
        Route::get('/roleUpgrade/paginate',[\App\Http\Controllers\Admin\RoleUpgradeController::class,'paginate'])->name('roleUpgrade:paginate');

        //禁言管理
        Route::get("/silent/paginate",[\App\Http\Controllers\Admin\SilentController::class,'paginate'])->name('silent:paginate');
        Route::post("/silent/add",[\App\Http\Controllers\Admin\SilentController::class,'add'])->name('silent:add');
        Route::put("/silent/{id}",[\App\Http\Controllers\Admin\SilentController::class,'edit'])->name('silent:edit')->where('id',$d);
        Route::get("/silent/{id}",[\App\Http\Controllers\Admin\SilentController::class,'detail'])->name('silent:detail')->where('id',$d);

        //公告,跑马灯
        Route::post('/horseRaceLamp/add',[\App\Http\Controllers\Admin\HorseRaceLampController::class,'add'])->name("horseRaceLamp:add");
        Route::get('/horseRaceLamp/paginate',[\App\Http\Controllers\Admin\HorseRaceLampController::class,'paginate'])->name("horseRaceLamp:paginate");
        Route::put('/horseRaceLamp/{id}',[\App\Http\Controllers\Admin\HorseRaceLampController::class,'edit'])->name("horseRaceLamp:edit")->where('id',$d);
        Route::get('/horseRaceLamp/{id}',[\App\Http\Controllers\Admin\HorseRaceLampController::class,'detail'])->name("horseRaceLamp:detail")->where('id',$d);
        Route::delete('/horseRaceLamp/{id}',[\App\Http\Controllers\Admin\HorseRaceLampController::class,'delete'])->name("horseRaceLamp:delete")->where('id',$d);
        Route::put('/horseRaceLamp/confirm/{id}',[\App\Http\Controllers\Admin\HorseRaceLampController::class,'confirm'])->name("horseRaceLamp:confirm")->where('id',$d);

        //角色坐标重置
        Route::post('/roleCoordinates/add',[\App\Http\Controllers\Admin\RoleCoordinatesController::class,'add'])->name("roleCoordinates:add");
        Route::get('/roleCoordinates/paginate',[\App\Http\Controllers\Admin\RoleCoordinatesController::class,'paginate'])->name("roleCoordinates:paginate");


        //白名单
        Route::delete('/whitelist',[\App\Http\Controllers\Admin\WhiteListController::class,'delete'])->name('whitelist:delete');
        Route::post('/whitelist/add',[\App\Http\Controllers\Admin\WhiteListController::class,'add'])->name('whitelist:add');            ;
        Route::get('/whitelist/paginate',[\App\Http\Controllers\Admin\WhiteListController::class,'paginate'])->name('whitelist:paginate');

        //黑名单
        Route::post('/banList/add',[\App\Http\Controllers\Admin\BanListController::class,'add'])->name('banList:add');
        Route::put('/banList/{id}',[\App\Http\Controllers\Admin\BanListController::class,'edit'])->name('banList:edit');
        Route::get('/banList/{id}',[\App\Http\Controllers\Admin\BanListController::class,'detail'])->name('banList:detail')->where('id',$d);
        Route::get('/banList/paginate',[\App\Http\Controllers\Admin\BanListController::class,'paginate'])->name('banList:paginate')->where('id',$d);
        Route::delete('/banList/{id}',[\App\Http\Controllers\Admin\BanListController::class,'delete'])->name('banList:delete');


        //IP封禁
        Route::post('/banIpList/add',[\App\Http\Controllers\Admin\BanIpListController::class,'add'])->name('banIpList:add');
        Route::get('/banIpList/paginate',[\App\Http\Controllers\Admin\BanIpListController::class,'paginate'])->name('banIpList:paginate')->where('id',$d);
        Route::delete('/banIpList/{id}',[\App\Http\Controllers\Admin\BanIpListController::class,'delete'])->name('banIpList:delete');

        //装备发送
        Route::get('/equipSend/paginate',[\App\Http\Controllers\Admin\EquipSendController::class,'paginate'])->name('equipSend:paginate');
        Route::get('/equipSend/{id}',[\App\Http\Controllers\Admin\EquipSendController::class,'detail'])->name('equipSend:detail')->where('id',$d);
        Route::post('/equipSend/add',[\App\Http\Controllers\Admin\EquipSendController::class,'add'])->name('equipSend:add');
        Route::put('/equipSend/auth/{id}',[\App\Http\Controllers\Admin\EquipSendController::class,'auth'])->name('equipSend:auth')->where('id',$d);
        Route::put('/equipSend/noauth/{id}',[\App\Http\Controllers\Admin\EquipSendController::class,'noauth'])->name('equipSend:noauth')->where('id',$d);

        //装备鉴定
        Route::get("/equipIdentify/paginate",[\App\Http\Controllers\Admin\EquipIdentifyController::class,'paginate'])->name('equipIdentify:paginate');
        //装备锻造
        Route::get("/equipMake/paginate",[\App\Http\Controllers\Admin\EquipMakeController::class,'paginate'])->name('equipMake:paginate');

        //摆摊日志
        Route::get("/roleStall/paginate",[\App\Http\Controllers\Admin\LogRoleStallController::class,'paginate'])->name('roleStall:paginate');

        //精灵日志
        Route::get("/logRolePet/paginate",[\App\Http\Controllers\Admin\LogRolePetController::class,'paginate'])->name('rolePet:paginate');
        //角色任务
        Route::get("/logRoleTask/paginate",[\App\Http\Controllers\Admin\LogRoleTaskController::class,'paginate'])->name('logRoleTask:paginate');

        //活动数据补偿接口
        Route::get("/ActEdit/paginate",[\App\Http\Controllers\Admin\ActEditController::class,'paginate'])->name('ActEdit:paginate');
        Route::post("/ActEdit/send",[\App\Http\Controllers\Admin\ActEditController::class,'send'])->name('ActEdit:send');
        Route::get("/ActEdit/operatepaginate",[\App\Http\Controllers\Admin\ActEditController::class,'operatepaginate'])->name('ActEdit:operatepaginate');


        //接口日志查询
        Route::post('/interface/pageint',[\App\Http\Controllers\Admin\BossController::class,'pageint'])->name('interface:pageint');

        //boss 数据导入
        Route::post('/boss/import',[\App\Http\Controllers\Admin\BossController::class,'import'])->name('boss:import');
        //boss 数据
        Route::get('/boss/paginate',[\App\Http\Controllers\Admin\BossController::class,'paginate'])->name('boss:paginate');
        Route::get('/boss/{id}',[\App\Http\Controllers\Admin\BossController::class,'detail'])->name('boss:detail')->where('id',$d);
        Route::put('/boss/{id}',[\App\Http\Controllers\Admin\BossController::class,'edit'])->name('boss:edit')->where('id',$d);
        Route::get("/memberKeep/paginate",[\App\Http\Controllers\Admin\MemberKeepController::class,'paginate'])->name("memberKeep:list");
        Route::get("/member/paginate",[\App\Http\Controllers\Admin\MemberController::class,'paginate'])->name("member:paginate");
        Route::get("/memberLtu/paginate",[\App\Http\Controllers\Admin\MemberLtuController::class,'paginate'])->name("memberLtu:paginate");

        //充值客户留存
        Route::get("/memberKeepPay/paginate",[\App\Http\Controllers\Admin\MemberKeepController::class,'paypaginate'])->name("memberKeepPay:list");


        //支付未发货订单
        Route::get("/payOrder/paginate",[\App\Http\Controllers\Admin\PayOrderController::class,'paginate'])->name("payOrder:nopush");

        Route::get("/payOrder/paginate",[\App\Http\Controllers\Admin\PayOrderController::class,'paginate'])->name("payOrder:nopay");




        Route::get("/payOrder/paginate",[\App\Http\Controllers\Admin\PayOrderController::class,'paginate'])->name("payOrder:paginate");
        Route::get("/payOrder/export",[\App\Http\Controllers\Admin\PayOrderController::class,'export'])->name("payOrder:export");
        Route::get("/payOrder/sta",[\App\Http\Controllers\Admin\PayOrderController::class,'sta'])->name("payOrder:sta");
        Route::post("/payOrder/{id}/query",[\App\Http\Controllers\Admin\PayOrderController::class,'query'])->where('id',$d)->name("payOrder:query"); //主动查询
        Route::post("/payOrder/{id}/edit",[\App\Http\Controllers\Admin\PayOrderController::class,'edit'])->name('payOrder:edit')->where('id',$d);

        Route::post("/payOrder/{id}/push",[\App\Http\Controllers\Admin\PayOrderController::class,'push'])->where('id',$d)->name("payOrder:push"); //推送给游戏服务器
        Route::post("/payOrder/{id}/forcePush",[\App\Http\Controllers\Admin\PayOrderController::class,'forcePush'])->where('id',$d)->name("payOrder:forcePush"); //强制推送给游戏服务器,不判断之前是否推送过
        Route::post("/payOrder/{id}/nopayForcePush",[\App\Http\Controllers\Admin\PayOrderController::class,'nopayForcePush'])->where('id',$d)->name("payOrder:nopayForcePush"); //未付款,强制推送
        //订单报表
        Route::get("/payOrder/report",[\App\Http\Controllers\Admin\PayOrderController::class,'report'])->name("payOrder:report");
        //充值排行
        Route::get("/payOrder/top",[\App\Http\Controllers\Admin\PayOrderController::class,'top'])->name("payOrder:top");;

        //商城道具统计表
        Route::get("/payOrder/gameMall",[\App\Http\Controllers\Admin\PayOrderController::class,'gameMall'])->name("payOrder:gameMall");;

        //付费行为
        Route::get("/payAct/paginate",[\App\Http\Controllers\Admin\PayOrderController::class,'actPaginate'])->name("payAct:paginate");
        //付费数据
        Route::get("/payOrderData/paginate",[\App\Http\Controllers\Admin\PayOrderController::class,'payOrderData'])->name("payOrderData:paginate");
        //付费转化
        Route::get("/payTransform/paginate",[\App\Http\Controllers\Admin\PayOrderController::class,'payTransform'])->name("payTransform:payTransform");

        //商品订单分类统计
        Route::get("/payOrder/orders",[\App\Http\Controllers\Admin\PayOrderController::class,'orders'])->name("payOrder:orders");

        //修改funtionOpen
        Route::get("/funtionOpen/paginate",[\App\Http\Controllers\Admin\FunctionopenController::class,'paginate'])->name('funtionOpen:paginate');
        Route::post("/funtionOpen/add",[\App\Http\Controllers\Admin\FunctionopenController::class,'add'])->name('funtionOpen:add');
        Route::get("/funtionOpen/{id}",[\App\Http\Controllers\Admin\FunctionopenController::class,'detail'])->name('funtionOpen:detail')->where('id',$d);
        Route::put("/funtionOpen/{id}",[\App\Http\Controllers\Admin\FunctionopenController::class,'edit'])->name('funtionOpen:edit')->where('id',$d);
        Route::delete("/funtionOpen/{id}",[\App\Http\Controllers\Admin\FunctionopenController::class,'delete'])->name('funtionOpen:delete')->where('id',$d);


        //serverGroup服务器列表
        Route::get("/server/paginate",[\App\Http\Controllers\Admin\ServerController::class,'paginate'])->name('server:paginate');
        Route::get("/server/serverList",[\App\Http\Controllers\Admin\ServerController::class,'serverList'])->name('serverList:paginate');;

        Route::post("/server/add",[\App\Http\Controllers\Admin\ServerController::class,'add'])->name('server:add');
        Route::get("/server/{id}",[\App\Http\Controllers\Admin\ServerController::class,'detail'])->name('server:detail')->where('id',$d);
        Route::put("/server/{id}",[\App\Http\Controllers\Admin\ServerController::class,'edit'])->name('server:edit')->where('id',$d);
        Route::put("/server/{ids}/editServer",[\App\Http\Controllers\Admin\ServerController::class,'editServer'])->name('server:editServer')->where('id',$d);
        Route::delete("/server/{id}",[\App\Http\Controllers\Admin\ServerController::class,'delete'])->name('server:delete')->where('id',$d);


        //区服维护
        Route::put("/server/{ids}/maintain",[\App\Http\Controllers\Admin\ServerController::class,'maintain'])->name('server:maintain')->where('id',$d);
        //终止维护
        Route::put("/server/{ids}/stopMaintain",[\App\Http\Controllers\Admin\ServerController::class,'stopMaintain'])->name('server:stopMaintain')->where('id',$d);
        //全服物品快照
        Route::get("/item/snapshoot",[\App\Http\Controllers\Admin\ItemController::class,'snapshoot'])->name("item:snapshoot");
        //摆摊
        Route::get("/stall/paginate",[\App\Http\Controllers\Admin\StallController::class,'paginate'])->name('stall:paginate');

        //热更新分组
        Route::get("/hotVersion/newpaginate",[\App\Http\Controllers\Admin\HotVersionController::class,'newpaginate'])->name('hotVersion:newpaginate');
        Route::get("/hotVersion/paginate",[\App\Http\Controllers\Admin\HotVersionController::class,'paginate'])->name('hotVersion:paginate');
        Route::post("/hotVersion/add",[\App\Http\Controllers\Admin\HotVersionController::class,'add'])->name('hotVersion:add');
        Route::match(['post', 'put'], "/hotVersion/{id}", [\App\Http\Controllers\Admin\HotVersionController::class,'edit'])->name('hotVersion:edit')->where('id',$d);        Route::get("/hotVersion/{id}",[\App\Http\Controllers\Admin\HotVersionController::class,'detail'])->name('hotVersion:detail')->where('id',$d);
        Route::delete("/hotVersion/{id}",[\App\Http\Controllers\Admin\HotVersionController::class,'delete'])->name('hotVersion:delete')->where('id',$d);

        //客户端热更新分组
        Route::get("/cient/newpaginate",[\App\Http\Controllers\Admin\ClientVersionController::class,'newpaginate'])->name('cient:newpaginate');
        Route::get("/cient/paginate",[\App\Http\Controllers\Admin\ClientVersionController::class,'paginate'])->name('cient:paginate');
        Route::post("/cient/add",[\App\Http\Controllers\Admin\ClientVersionController::class,'add'])->name('cient:add');
        Route::put("/cient/{id}",[\App\Http\Controllers\Admin\ClientVersionController::class,'edit'])->name('cient:edit')->where('id',$d);
        Route::get("/cient/{id}",[\App\Http\Controllers\Admin\ClientVersionController::class,'detail'])->name('cient:detail')->where('id',$d);
        Route::delete("/cient/{id}",[\App\Http\Controllers\Admin\ClientVersionController::class,'delete'])->name('cient:delete')->where('id',$d);


        //服分组
        Route::get("/serverGroup/paginate",[\App\Http\Controllers\Admin\ServerGroupController::class,'paginate'])->name('serverGroup:paginate');
        Route::get("/serverGroup/{id}",[\App\Http\Controllers\Admin\ServerGroupController::class,'detail'])->name('serverGroup:detail')->where('id',$d);
        Route::post("/serverGroup/add",[\App\Http\Controllers\Admin\ServerGroupController::class,'add'])->name('serverGroup:add');
        Route::put("/serverGroup/{id}",[\App\Http\Controllers\Admin\ServerGroupController::class,'edit'])->name('serverGroup:edit')->where('id',$d);
        Route::delete("/serverGroup/{id}",[\App\Http\Controllers\Admin\ServerGroupController::class,'delete'])->name('serverGroup:delete')->where('id',$d);

        //服分组
        Route::get("/configGroup/paginate",[\App\Http\Controllers\Admin\ConfigGroupController::class,'paginate'])->name('configGroup:paginate');
        Route::get("/configGroup/{id}",[\App\Http\Controllers\Admin\ConfigGroupController::class,'detail'])->name('configGroup:detail')->where('id',$d);
        Route::post("/configGroup/add",[\App\Http\Controllers\Admin\ConfigGroupController::class,'add'])->name('configGroup:add');
        Route::put("/configGroup/{id}",[\App\Http\Controllers\Admin\ConfigGroupController::class,'edit'])->name('configGroup:edit')->where('id',$d);
        Route::delete("/configGroup/{id}",[\App\Http\Controllers\Admin\ConfigGroupController::class,'delete'])->name('configGroup:delete')->where('id',$d);

        //母包渠道管理
        Route::get("/packageChannel/paginate",[\App\Http\Controllers\Admin\PackageChannelController::class,'paginate'])->name('packageChannel:paginate');
        Route::get("/packageChannel/{id}",[\App\Http\Controllers\Admin\PackageChannelController::class,'detail'])->name('packageChannel:detail')->where('id',$d);
        Route::post("/packageChannel/add",[\App\Http\Controllers\Admin\PackageChannelController::class,'add'])->name('packageChannel:add');
        Route::put("/packageChannel/{id}",[\App\Http\Controllers\Admin\PackageChannelController::class,'edit'])->name('packageChannel:edit')->where('id',$d);
        Route::delete("/packageChannel/{id}",[\App\Http\Controllers\Admin\PackageChannelController::class,'delete'])->name('packageChannel:delete')->where('id',$d);



        //渠道管理
        Route::get("/gameChannel/paginate",[\App\Http\Controllers\Admin\GameChannelController::class,'paginate'])->name('gameChannel:paginate');
        Route::get("/gameChannel/{id}",[\App\Http\Controllers\Admin\GameChannelController::class,'detail'])->name('gameChannel:detail')->where('id',$d);
        Route::post("/gameChannel/add",[\App\Http\Controllers\Admin\GameChannelController::class,'add'])->name('gameChannel:add');
        Route::put("/gameChannel/{id}",[\App\Http\Controllers\Admin\GameChannelController::class,'edit'])->name('gameChannel:edit')->where('id',$d);
        Route::delete("/gameChannel/{id}",[\App\Http\Controllers\Admin\GameChannelController::class,'delete'])->name('gameChannel:delete')->where('id',$d);
        Route::get("/gameChannel/getByIds",[\App\Http\Controllers\Admin\GameChannelController::class,'getByIds'])->name('gameChannel:getByIds');
        Route::get("/gameChannel/getByIdsHv",[\App\Http\Controllers\Admin\GameChannelController::class,'getByIdsHv'])->name('gameChannel:getByIdsHv');

        //游戏包管理
        Route::get("/gamePackage/paginate",[\App\Http\Controllers\Admin\GamePackageController::class,'paginate'])->name('gamePackage:paginate');
        Route::get("/gamePackage/{id}",[\App\Http\Controllers\Admin\GamePackageController::class,'detail'])->name('gamePackage:detail')->where('id',$d);
        Route::post("/gamePackage/add",[\App\Http\Controllers\Admin\GamePackageController::class,'add'])->name('gamePackage:add');
        Route::put("/gamePackage/{id}",[\App\Http\Controllers\Admin\GamePackageController::class,'edit'])->name('gamePackage:edit')->where('id',$d);
        Route::delete("/gamePackage/{id}",[\App\Http\Controllers\Admin\GamePackageController::class,'delete'])->name('gamePackage:delete')->where('id',$d);

        Route::get('/setting/getByName',[\App\Http\Controllers\Admin\SettingController::class,'getByName']);
        Route::put('/setting/setByName',[\App\Http\Controllers\Admin\SettingController::class,'setByName']);
        Route::get('/setting/getToken',[\App\Http\Controllers\Admin\SettingController::class,'getToken']);

        //游戏包版本管理
        Route::get("/gamePackage/paginatev",[\App\Http\Controllers\Admin\GamePackageController::class,'paginatev'])->name('gamePackagev:paginate');

        //角色快照查询接口
        Route::get('/roleSnapshoot/paginate',[\App\Http\Controllers\Admin\RoleSnapshootController::class,'paginate'])->name('roleSnapshoot:paginate');
        Route::delete('/roleSnapshoot/deleteByDateTime',[\App\Http\Controllers\Admin\RoleSnapshootController::class,'deleteByDateTime'])->name('roleSnapshoot:deleteByDateTime');

        Route::get("/public/test",[PublicController::class,'resetPass']);
        //聊天日志
        Route::get('/logRoleChat/paginate',[\App\Http\Controllers\Admin\LogRoleChatController::class,'paginate'])->name('logRoleChat:paginate');
        //游戏相关设置
        Route::get('/gameSetting/paginate',[GameSettingController::class,'paginate'])->name("GameSetting:paginate");
        Route::get('/gameSetting/{id}',[GameSettingController::class,'detail'])->name("GameSetting:detail")->where('id',$d);
        Route::put('/gameSetting/{id}',[GameSettingController::class,'edit'])->name("GameSetting:edit")->where('id',$d);
        //游戏内公告
        Route::post('/announcement/insert',[\App\Http\Controllers\Admin\AnnouncementController::class,'insert'])->name('announcement:insert');
        Route::get('/announcement/paginate',[\App\Http\Controllers\Admin\AnnouncementController::class,'paginate'])->name('announcement:paginate');
        Route::put('/announcement/{id}',[\App\Http\Controllers\Admin\AnnouncementController::class,'update'])->name('announcement:edit')->where('id',$d);
        Route::get('/announcement/{id}',[\App\Http\Controllers\Admin\AnnouncementController::class,'detail'])->name('announcement:detail')->where('id',$d);
        Route::delete('/announcement/{id}',[\App\Http\Controllers\Admin\AnnouncementController::class,'delete'])->name('announcement:delete')->where('id',$d);
        //角色死亡日志
        Route::get('/logRoleDeath/paginate',[\App\Http\Controllers\Admin\LogRoleDeathController::class,'paginate'])->name('logRoleDeath:paginate');
        Route::get('/logRoleDeath/export',[\App\Http\Controllers\Admin\LogRoleDeathController::class,'export'])->name('logRoleDeath:export');


        //模拟登录
        Route::post('/simulationLogin/insert',[\App\Http\Controllers\Admin\SimulationLoginController::class,'insert'])->name('simulationLogin:insert');
        Route::get('/simulationLogin/paginate',[\App\Http\Controllers\Admin\SimulationLoginController::class,'paginate'])->name('simulationLogin:paginate');
        Route::put('/simulationLogin/{id}',[\App\Http\Controllers\Admin\SimulationLoginController::class,'update'])->name('simulationLogin:edit')->where('id',$d);
        Route::get('/simulationLogin/{id}',[\App\Http\Controllers\Admin\SimulationLoginController::class,'detail'])->name('simulationLogin:detail')->where('id',$d);
        Route::delete('/simulationLogin/{id}',[\App\Http\Controllers\Admin\SimulationLoginController::class,'delete'])->name('simulationLogin:delete')->where('id',$d);

        //奖励 [导入,领取,发放,显示]
        Route::post('/rewards/import',[\App\Http\Controllers\Admin\RewardsController::class,'import'])->name('rewards:import');
        Route::get('/rewards/paginate',[\App\Http\Controllers\Admin\RewardsController::class,'paginate'])->name('rewards:paginate');
        Route::put('/rewards/{id}',[\App\Http\Controllers\Admin\RewardsController::class,'update'])->name('rewards:edit')->where('id',$d);
        Route::get('/rewards/{id}',[\App\Http\Controllers\Admin\RewardsController::class,'detail'])->name('rewards:detail')->where('id',$d);
        Route::delete('/rewards/{id}',[\App\Http\Controllers\Admin\RewardsController::class,'delete'])->name('rewards:delete')->where('id',$d);

        //虚拟订单
        Route::post('/virtualOrder/insert',[\App\Http\Controllers\Admin\VirtualOrderController::class,'insert'])->name('virtualOrder:insert');
        Route::get('/virtualOrder/paginate',[\App\Http\Controllers\Admin\VirtualOrderController::class,'paginate'])->name('virtualOrder:paginate');
        Route::put('/virtualOrder/{id}',[\App\Http\Controllers\Admin\VirtualOrderController::class,'update'])->name('virtualOrder:edit')->where('id',$d);
        Route::get('/virtualOrder/{id}',[\App\Http\Controllers\Admin\VirtualOrderController::class,'detail'])->name('virtualOrder:detail')->where('id',$d);
        Route::delete('/virtualOrder/{id}',[\App\Http\Controllers\Admin\VirtualOrderController::class,'delete'])->name('virtualOrder:delete')->where('id',$d);
        Route::put('/virtualOrder/{id}/auth',[\App\Http\Controllers\Admin\VirtualOrderController::class,'auth'])->name('virtualOrder:auth')->where('id',$d);
        //内购表
        Route::get('/gameGoods/paginate',[\App\Http\Controllers\Admin\GameGoodsController::class,'paginate'])->name('gameGoods:paginate');


       // Route::get('/feedBack/paginate',[\App\Http\Controllers\Admin\FeedBackController::class,'paginate'])->name('feedBack:paginate');
      //  Route::put('/feedBack/{id}',[\App\Http\Controllers\Admin\FeedBackController::class,'update'])->name('feedBack:edit')->where('id',$d);
      //  Route::get('/feedBack/{id}',[\App\Http\Controllers\Admin\FeedBackController::class,'detail'])->name('feedBack:detail')->where('id',$d);
      //  Route::delete('/feedBack/{id}',[\App\Http\Controllers\Admin\FeedBackController::class,'delete'])->name('feedBack:delete')->where('id',$d);



        Route::get('/feedBack/paginate',[\App\Http\Controllers\Admin\FeedBackController::class,'paginate'])->name('feedBack:paginate');
        Route::put('/feedBack/{id}',[\App\Http\Controllers\Admin\FeedBackController::class,'update'])->name('feedBack:edit')->where('id',$d);
        Route::get('/feedBack/{id}',[\App\Http\Controllers\Admin\FeedBackController::class,'detail'])->name('feedBack:detail')->where('id',$d);
        Route::delete('/feedBack/{id}',[\App\Http\Controllers\Admin\FeedBackController::class,'delete'])->name('feedBack:delete')->where('id',$d);

        //活动排期表展示(官方)

        Route::get('/activeRule/paginate',[\App\Http\Controllers\Admin\ActiveRuleController::class,'paginate'])->name('activeRule:paginate');
        Route::post('/activeRule/push',[\App\Http\Controllers\Admin\ActiveRuleController::class,'push'])->name('activeRule:push');
        Route::get("/activeRule/{id}",[\App\Http\Controllers\Admin\ActiveRuleController::class,'detail'])->name('activeRule:detail')->where('id',$d);
        Route::post("/activeRule/add",[\App\Http\Controllers\Admin\ActiveRuleController::class,'add'])->name('activeRule:add');
        Route::put("/activeRule/{id}",[\App\Http\Controllers\Admin\ActiveRuleController::class,'edit'])->name('activeRule:edit')->where('id',$d);

        //活动排期表展示(渠道1)
        Route::get('/activeRuleqd/paginate',[\App\Http\Controllers\Admin\ActiveRuleController::class,'paginateqd'])->name('activeRuleqd:paginate');
        Route::post('/activeRuleqd/push',[\App\Http\Controllers\Admin\ActiveRuleController::class,'pushqd'])->name('activeRuleqd:push');
        Route::get("/activeRuleqd/{id}",[\App\Http\Controllers\Admin\ActiveRuleController::class,'detailqd'])->name('activeRuleqd:detail')->where('id',$d);
        Route::post("/activeRuleqd/add",[\App\Http\Controllers\Admin\ActiveRuleController::class,'addqd'])->name('activeRuleqd:add');
        Route::put("/activeRuleqd/{id}",[\App\Http\Controllers\Admin\ActiveRuleController::class,'editqd'])->name('activeRuleqd:edit')->where('id',$d);


        //活动排期表展示(官方提测)

        Route::get('/activeRuletc/paginate',[\App\Http\Controllers\Admin\ActiveRuleController::class,'paginatetc'])->name('activeRuletc:paginate');
        Route::post('/activeRuletc/push',[\App\Http\Controllers\Admin\ActiveRuleController::class,'pushtc'])->name('activeRuletc:push');
        Route::get("/activeRuletc/{id}",[\App\Http\Controllers\Admin\ActiveRuleController::class,'detailtc'])->name('activeRuletc:detail')->where('id',$d);
        Route::post("/activeRuletc/add",[\App\Http\Controllers\Admin\ActiveRuleController::class,'addtc'])->name('activeRuletc:add');
        Route::put("/activeRuletc/{id}",[\App\Http\Controllers\Admin\ActiveRuleController::class,'edittc'])->name('activeRuletc:edit')->where('id',$d);

        //活动排期表展示(渠道1提测)
        Route::get('/activeRuleqdtc/paginate',[\App\Http\Controllers\Admin\ActiveRuleController::class,'paginateqdtc'])->name('activeRuleqdtc:paginate');
        Route::post('/activeRuleqdtc/push',[\App\Http\Controllers\Admin\ActiveRuleController::class,'pushqdtc'])->name('activeRuleqdtc:push');
        Route::get("/activeRuleqdtc/{id}",[\App\Http\Controllers\Admin\ActiveRuleController::class,'detailqdtc'])->name('activeRuleqdtc:detail')->where('id',$d);
        Route::post("/activeRuleqdtc/add",[\App\Http\Controllers\Admin\ActiveRuleController::class,'addqdtc'])->name('activeRuleqdtc:add');
        Route::put("/activeRuleqdtc/{id}",[\App\Http\Controllers\Admin\ActiveRuleController::class,'editqdtc'])->name('activeRuleqdtc:edit')->where('id',$d);

        //兑换码管理
        Route::get('/activeCode/paginate',[\App\Http\Controllers\Admin\ActiveCodeController::class,'paginate'])->name('activeCode:paginate');
        Route::post('/activeCode/push',[\App\Http\Controllers\Admin\ActiveCodeController::class,'push'])->name('activeCode:push');
        Route::get("/activeCode/{id}",[\App\Http\Controllers\Admin\ActiveCodeController::class,'detail'])->name('activeCode:detail')->where('id',$d);
        Route::post("/activeCode/add",[\App\Http\Controllers\Admin\ActiveCodeController::class,'add'])->name('activeCode:add');
        Route::put("/activeCode/{id}",[\App\Http\Controllers\Admin\ActiveCodeController::class,'edit'])->name('activeCode:edit')->where('id',$d);
        Route::get('/activeCode/paginatelog',[\App\Http\Controllers\Admin\ActiveCodeController::class,'paginatelog'])->name('activeCode:paginatelog');



        //版本配置

        Route::get("/version/paginate",[\App\Http\Controllers\Admin\GameVersionController::class,'paginate'])->name('version:paginate');
        Route::get("/version/{id}",[\App\Http\Controllers\Admin\GameVersionController::class,'detail'])->name('version:detail')->where('id',$d);
        Route::post("/version/add",[\App\Http\Controllers\Admin\GameVersionController::class,'add'])->name('version:add');
        Route::put("/version/{id}",[\App\Http\Controllers\Admin\GameVersionController::class,'edit'])->name('version:edit')->where('id',$d);
        Route::delete("/version/{id}",[\App\Http\Controllers\Admin\GameVersionController::class,'delete'])->name('version:delete')->where('id',$d);

        //同步器统计
        Route::get("/alarm/paginate",[\App\Http\Controllers\Admin\AlarmController::class,'paginate'])->name("alarm:paginate");


    });

});



